<%@ Page Language="C#" MasterPageFile="~/Minimal.master" AutoEventWireup="true" CodeFile="PollCreated.aspx.cs"
    Inherits="PollCreated" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Content" runat="Server">
    <div>
        <p class="mediumText">
            <a href="Default.aspx">Home</a> > Poll Created
        </p>
    </div>
    <div id="createdMainBox">
        <div style="background-color: #EEFFEE; margin-right: 50px; padding: 20px;">
            <div class="largeText">
                You have successfully created the Poll. <a href="/PollMain.aspx?id=<%= GetPollLink() %>">Go to Poll &gt;&gt;</a>
                <br />
            </div>
            <p>
                The URL for the poll is http://www.pervote.com/PollMain.aspx?id=<%= GetPollLink() %></p>
            <div>
                <h3>
                    Invite a few friends to vote!</h3>
                <p>
                    Enter the email ids of your friends you would like to invite, seperated by comma.
                    (eg: john@hotmail.com,david@goliath.com)</p>
                <div>
                    <asp:TextBox ID="friendListTextBox" runat="server" Height="165px" TextMode="MultiLine"
                        Width="342px"></asp:TextBox><br />
                    <br />
                    Your Name:
                    <asp:TextBox ID="userNameTextBox" runat="server" Width="211px"></asp:TextBox><br />
                    <br />
                    <asp:Button ID="inviteButton" runat="server" Text="Invite Them!" OnClick="inviteButton_Click" />&nbsp;</div>
            </div>
        </div>
    </div>
</asp:Content>
